package com.im.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.im.entity.ImGroup;
import com.im.entity.vo.GroupVO;
import jakarta.validation.Valid;
import org.springframework.stereotype.Service;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xainsir
 * @since 2025-02-23
 */
public interface IImGroupService extends IService<ImGroup> {

    GroupVO createGroup(GroupVO groupvo);

    GroupVO modifyGroup(@Valid GroupVO vo);
    //根据id查找群聊，并进行缓存
    ImGroup getAndCheckById(Long groupId);
}
